.box2{
  width: 100px;
  height: 100px;
  background-image: url('../images/2.png');
  background-size: cover;
  position: absolute;
  left: 50%;
  right: 50%;
  transform: translate(-50%,-50%);
}